<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../js/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        1.  {{ info }}
        <div v-html="info">xxxxxx</div>
        <div v-text="info">xxxxxx</div>
        <p v-pre> {{stname}}</p>
        <div v-once> {{info}}</div>
    </div>
</body>
<script>
var vm = new Vue({
    el:"#app",
    data:{
        stname: 'temo',
        stpass: '123456',
        info: '<h1>知行合一</h1>'
    }
});

</script>
</html>